package com.example.bigwork.dto.response;

import lombok.Data;
import java.math.BigDecimal;

@Data
public class OrderItemResponse {
    private Long productId;
    private String productName; // Denormalized for convenience
    private Integer quantity;
    private BigDecimal priceAtPurchase;
    private BigDecimal subtotal; // quantity * priceAtPurchase
}